<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>食堂菜品打分App</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" rel="stylesheet">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#FF7A45',
                        secondary: '#FFA940',
                        dark: '#262626',
                        light: '#F5F5F5',
                        gray: {
                            100: '#FAFAFA',
                            200: '#F0F0F0',
                            300: '#D9D9D9',
                            400: '#BFBFBF',
                            500: '#8C8C8C',
                            600: '#595959',
                            700: '#434343',
                            800: '#262626',
                            900: '#1F1F1F',
                        }
                    },
                    fontFamily: {
                        sans: ['Noto Sans SC', 'Inter', 'system-ui', 'sans-serif'],
                    },
                    boxShadow: {
                        'card': '0 4px 12px rgba(0, 0, 0, 0.05)',
                        'button': '0 2px 8px rgba(255, 122, 69, 0.25)',
                    }
                }
            }
        }
    </script>
</head>
<body class="bg-gray-100 font-sans">
    <div class="container mx-auto p-6">
        <h1 class="text-2xl font-bold mb-6 text-center text-dark">食堂菜品打分App - 页面预览</h1>
        
        <div class="flex flex-wrap gap-6 justify-center">
            <!-- 首页/菜品列表页面 -->
            <div class="w-80 h-[600px] bg-white rounded-xl shadow-card overflow-hidden border border-gray-200 relative">
                <div class="p-4 bg-primary text-white font-bold">
                    首页 - 菜品列表
                </div>
                <div class="p-4 overflow-y-auto h-[520px]">
                    <!-- 日期选择器 -->
                    <div class="flex items-center justify-between mb-6">
                        <button class="text-gray-400 hover:text-primary transition">
                            <i class="fas fa-chevron-left"></i>
                        </button>
                        <div class="text-center">
                            <div class="text-sm text-gray-500">2023年10月</div>
                            <div class="font-bold text-lg flex items-center">
                                <span>今日</span>
                                <span class="mx-1 text-primary">10月16日</span>
                                <span>周一</span>
                            </div>
                        </div>
                        <button class="text-gray-400 hover:text-primary transition">
                            <i class="fas fa-chevron-right"></i>
                        </button>
                    </div>
                    
                    <div class="flex items-center justify-between mb-4">
                        <h2 class="text-lg font-bold">菜品列表</h2>
                        <div class="flex space-x-2">
                            <button class="px-3 py-1 bg-primary text-white rounded-full text-sm shadow-sm">早餐</button>
                            <button class="px-3 py-1 bg-gray-200 text-gray-600 rounded-full text-sm shadow-sm">午餐</button>
                            <button class="px-3 py-1 bg-gray-200 text-gray-600 rounded-full text-sm shadow-sm">晚餐</button>
                        </div>
                    </div>
                    
                    <div class="space-y-4">
                        <!-- 菜品卡片 -->
                        <div class="bg-white rounded-lg p-3 flex items-center space-x-3 border border-gray-100 shadow-sm hover:shadow-md transition duration-300">
                            <img src="https://images.unsplash.com/photo-1551326844-4df70f78d0e9?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-20 h-20 object-cover rounded-lg" alt="豆浆">
                            <div class="flex-1">
                                <h3 class="font-bold">现磨豆浆</h3>
                                <div class="flex items-center text-yellow-400 text-sm mt-1">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star-half-alt"></i>
                                    <span class="ml-1 text-gray-600">4.5</span>
                                </div>
                                <p class="text-sm text-gray-500 mt-1">¥3.00</p>
                            </div>
                        </div>
                        
                        <div class="bg-white rounded-lg p-3 flex items-center space-x-3 border border-gray-100 shadow-sm hover:shadow-md transition duration-300">
                            <img src="https://images.unsplash.com/photo-1586190848861-99aa4a171e90?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-20 h-20 object-cover rounded-lg" alt="包子">
                            <div class="flex-1">
                                <h3 class="font-bold">肉包子</h3>
                                <div class="flex items-center text-yellow-400 text-sm mt-1">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="far fa-star"></i>
                                    <span class="ml-1 text-gray-600">4.0</span>
                                </div>
                                <p class="text-sm text-gray-500 mt-1">¥2.50</p>
                            </div>
                        </div>
                        
                        <div class="bg-white rounded-lg p-3 flex items-center space-x-3 border border-gray-100 shadow-sm hover:shadow-md transition duration-300">
                            <img src="https://images.unsplash.com/photo-1625938144207-a17d8b3b0743?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-20 h-20 object-cover rounded-lg" alt="油条">
                            <div class="flex-1">
                                <h3 class="font-bold">现炸油条</h3>
                                <div class="flex items-center text-yellow-400 text-sm mt-1">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star-half-alt"></i>
                                    <i class="far fa-star"></i>
                                    <span class="ml-1 text-gray-600">3.5</span>
                                </div>
                                <p class="text-sm text-gray-500 mt-1">¥2.00</p>
                            </div>
                        </div>
                        
                        <div class="bg-white rounded-lg p-3 flex items-center space-x-3 border border-gray-100 shadow-sm hover:shadow-md transition duration-300">
                            <img src="https://images.unsplash.com/photo-1515543904379-3d757afe72e4?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-20 h-20 object-cover rounded-lg" alt="小笼包">
                            <div class="flex-1">
                                <h3 class="font-bold">鲜肉小笼包</h3>
                                <div class="flex items-center text-yellow-400 text-sm mt-1">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <span class="ml-1 text-gray-600">5.0</span>
                                </div>
                                <p class="text-sm text-gray-500 mt-1">¥8.00</p>
                            </div>
                        </div>
                        
                        <div class="bg-white rounded-lg p-3 flex items-center space-x-3 border border-gray-100 shadow-sm hover:shadow-md transition duration-300">
                            <img src="https://images.unsplash.com/photo-1623595119708-26b1f7500cca?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-20 h-20 object-cover rounded-lg" alt="煎饼">
                            <div class="flex-1">
                                <h3 class="font-bold">手工煎饼</h3>
                                <div class="flex items-center text-yellow-400 text-sm mt-1">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="far fa-star"></i>
                                    <span class="ml-1 text-gray-600">4.0</span>
                                </div>
                                <p class="text-sm text-gray-500 mt-1">¥4.00</p>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 底部导航 -->
                <div class="absolute bottom-0 left-0 right-0 bg-white border-t border-gray-200 flex justify-around py-3">
                    <div class="flex flex-col items-center text-primary">
                        <i class="fas fa-home text-lg"></i>
                        <span class="text-xs mt-1">首页</span>
                    </div>
                    <div class="flex flex-col items-center text-gray-400">
                        <i class="fas fa-star text-lg"></i>
                        <span class="text-xs mt-1">评分</span>
                    </div>
                    <div class="flex flex-col items-center text-gray-400">
                        <i class="fas fa-user text-lg"></i>
                        <span class="text-xs mt-1">我的</span>
                    </div>
                </div>
            </div>
            
            <!-- 菜品详情页面 -->
            <div class="w-80 h-[600px] bg-white rounded-xl shadow-card overflow-hidden border border-gray-200 relative">
                <div class="p-4 bg-primary text-white font-bold flex items-center">
                    <i class="fas fa-arrow-left mr-2"></i>
                    菜品详情
                </div>
                <div class="overflow-y-auto h-[552px]">
                    <div class="relative">
                        <img src="https://images.unsplash.com/photo-1551326844-4df70f78d0e9?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-full h-48 object-cover" alt="豆浆">
                        <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-4">
                            <h2 class="text-white text-xl font-bold">现磨豆浆</h2>
                            <div class="flex items-center text-yellow-400 text-sm mt-1">
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star"></i>
                                <i class="fas fa-star-half-alt"></i>
          
                            </div>
                        </div>
                    </div>
                    
                    <div class="p-4">
                        <div class="flex justify-between items-center mb-4">
                            <div class="text-lg font-bold">¥3.00</div>
                            <div class="text-sm text-gray-500">早餐</div>
                        </div>
                        
                        <div class="mb-4">
                            <h3 class="font-bold mb-2">菜品介绍</h3>
                            <p class="text-sm text-gray-600">采用优质黄豆现场研磨，口感醇厚，营养丰富，不添加任何防腐剂，每天限量供应。</p>
                        </div>
                        
                        <div class="mb-4">
                            <h3 class="font-bold mb-2">我的评分</h3>
                            <div class="flex items-center text-yellow-400 text-2xl">
                                <i class="fas fa-star cursor-pointer hover:text-yellow-500"></i>
                                <i class="fas fa-star cursor-pointer hover:text-yellow-500"></i>
                                <i class="fas fa-star cursor-pointer hover:text-yellow-500"></i>
                                <i class="fas fa-star cursor-pointer hover:text-yellow-500"></i>
                                <i class="far fa-star cursor-pointer hover:text-yellow-500"></i>
                            </div>
                        </div>
                        
                        <div>
                            <h3 class="font-bold mb-2">添加评论</h3>
                            <textarea class="w-full p-2 border border-gray-300 rounded-lg text-sm" rows="2" placeholder="分享你对这道菜的看法..."></textarea>
                            <button class="mt-2 bg-primary text-white px-4 py-2 rounded-lg text-sm font-medium float-right shadow-button hover:bg-opacity-90 transition">提交评论</button>
                        </div>
                        
                        <div class="mt-16">
                            <div class="flex justify-between items-center mb-3">
                                <h3 class="font-bold">历史评论</h3>
                                <a href="#" class="text-primary text-sm">查看全部</a>
                            </div>
                            
                            <!-- 评论列表 -->
                            <div class="space-y-4">
                                <div class="border-b border-gray-200 pb-3">
                                    <div class="flex justify-between">
                                        <div class="flex items-center">
                                            <img src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-8 h-8 rounded-full object-cover" alt="用户头像">
                                            <span class="ml-2 font-medium">张同学</span>
                                        </div>
                                        <div class="flex items-center text-yellow-400 text-xs">
                                            <i class="fas fa-star"></i>
                                            <i class="fas fa-star"></i>
                                            <i class="fas fa-star"></i>
                                            <i class="fas fa-star"></i>
                                            <i class="fas fa-star"></i>
                                        </div>
                                    </div>
                                    <p class="text-sm text-gray-600 mt-2">豆浆很香浓，没有豆腥味，每天早上必买！</p>
                                    <div class="text-xs text-gray-400 mt-1">2023-10-15</div>
                                </div>
                                
                                <div class="border-b border-gray-200 pb-3">
                                    <div class="flex justify-between">
                                        <div class="flex items-center">
                                            <img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-8 h-8 rounded-full object-cover" alt="用户头像">
                                            <span class="ml-2 font-medium">李同学</span>
                                        </div>
                                        <div class="flex items-center text-yellow-400 text-xs">
                                            <i class="fas fa-star"></i>
                                            <i class="fas fa-star"></i>
                                            <i class="fas fa-star"></i>
                                            <i class="fas fa-star"></i>
                                            <i class="far fa-star"></i>
                                        </div>
                                    </div>
                                    <p class="text-sm text-gray-600 mt-2">味道不错，就是有时候温度不够热。希望能保持恒温，这样口感会更好。</p>
                                    <div class="text-xs text-gray-400 mt-1">2023-10-14</div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 评论列表页面 -->
            <div class="w-80 h-[600px] bg-white rounded-xl shadow-card overflow-hidden border border-gray-200 relative">
                <div class="p-4 bg-primary text-white font-bold flex items-center">
                    <i class="fas fa-arrow-left mr-2"></i>
                    全部评论 (28)
                </div>
                <div class="p-4 overflow-y-auto h-[552px]">
                    <div class="flex items-center justify-between mb-4">
                        <h2 class="text-lg font-bold">现磨豆浆</h2>
                        <div class="flex items-center text-yellow-400">
                            <span class="text-xl font-bold mr-1">4.5</span>
                            <i class="fas fa-star"></i>
                        </div>
                    </div>
                    
                    <div class="mb-4 bg-gray-50 p-3 rounded-lg">
                        <div class="flex justify-between items-center mb-2">
                            <div class="text-sm text-gray-500">评分分布</div>
                            <div class="text-sm text-gray-500">58人评分</div>
                        </div>
                        
                        <div class="space-y-2">
                            <div class="flex items-center">
                                <div class="w-10 text-sm text-gray-600">5星</div>
                                <div class="flex-1 mx-2 bg-gray-200 rounded-full h-2">
                                    <div class="bg-yellow-400 h-2 rounded-full" style="width: 70%"></div>
                                </div>
                                <div class="w-8 text-right text-sm text-gray-600">70%</div>
                            </div>
                            
                            <div class="flex items-center">
                                <div class="w-10 text-sm text-gray-600">4星</div>
                                <div class="flex-1 mx-2 bg-gray-200 rounded-full h-2">
                                    <div class="bg-yellow-400 h-2 rounded-full" style="width: 20%"></div>
                                </div>
                                <div class="w-8 text-right text-sm text-gray-600">20%</div>
                            </div>
                            
                            <div class="flex items-center">
                                <div class="w-10 text-sm text-gray-600">3星</div>
                                <div class="flex-1 mx-2 bg-gray-200 rounded-full h-2">
                                    <div class="bg-yellow-400 h-2 rounded-full" style="width: 5%"></div>
                                </div>
                                <div class="w-8 text-right text-sm text-gray-600">5%</div>
                            </div>
                            
                            <div class="flex items-center">
                                <div class="w-10 text-sm text-gray-600">2星</div>
                                <div class="flex-1 mx-2 bg-gray-200 rounded-full h-2">
                                    <div class="bg-yellow-400 h-2 rounded-full" style="width: 3%"></div>
                                </div>
                                <div class="w-8 text-right text-sm text-gray-600">3%</div>
                            </div>
                            
                            <div class="flex items-center">
                                <div class="w-10 text-sm text-gray-600">1星</div>
                                <div class="flex-1 mx-2 bg-gray-200 rounded-full h-2">
                                    <div class="bg-yellow-400 h-2 rounded-full" style="width: 2%"></div>
                                </div>
                                <div class="w-8 text-right text-sm text-gray-600">2%</div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="flex space-x-2 mb-4">
                        <button class="px-3 py-1 bg-primary text-white rounded-full text-sm">全部</button>
                        <button class="px-3 py-1 bg-gray-200 text-gray-600 rounded-full text-sm">好评 (48)</button>
                        <button class="px-3 py-1 bg-gray-200 text-gray-600 rounded-full text-sm">差评 (3)</button>
                        <button class="px-3 py-1 bg-gray-200 text-gray-600 rounded-full text-sm">有图 (12)</button>
                    </div>
                    
                    <!-- 评论列表 -->
                    <div class="space-y-4">
                        <div class="border-b border-gray-200 pb-4">
                            <div class="flex justify-between">
                                <div class="flex items-center">
                                    <img src="https://images.unsplash.com/photo-1535713875002-d1d0cf377fde?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-8 h-8 rounded-full object-cover" alt="用户头像">
                                    <span class="ml-2 font-medium">张同学</span>
                                </div>
                                <div class="flex items-center text-yellow-400 text-xs">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                </div>
                            </div>
                            <p class="text-sm text-gray-600 mt-2">豆浆很香浓，没有豆腥味，每天早上必买！</p>
                            <div class="mt-2 flex space-x-2">
                                <img src="https://images.unsplash.com/photo-1551326844-4df70f78d0e9?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-16 h-16 object-cover rounded" alt="评论图片">
                            </div>
                            <div class="text-xs text-gray-400 mt-2 flex justify-between">
                                <span>2023-10-15</span>
                                <div class="flex items-center">
                                    <i class="far fa-thumbs-up mr-1"></i>
                                  
                                </div>
                            </div>
                        </div>
                        
                        <div class="border-b border-gray-200 pb-4">
                            <div class="flex justify-between">
                                <div class="flex items-center">
                                    <img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-8 h-8 rounded-full object-cover" alt="用户头像">
                                    <span class="ml-2 font-medium">李同学</span>
                                </div>
                                <div class="flex items-center text-yellow-400 text-xs">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="far fa-star"></i>
                                </div>
                            </div>
                            <p class="text-sm text-gray-600 mt-2">味道不错，就是有时候温度不够热。希望能保持恒温，这样口感会更好。</p>
                            <div class="text-xs text-gray-400 mt-2 flex justify-between">
                                <span>2023-10-14</span>
                                <div class="flex items-center">
                                    <i class="far fa-thumbs-up mr-1"></i>
                                    
                                </div>
                            </div>
                        </div>
                        
                        <div class="border-b border-gray-200 pb-4">
                            <div class="flex justify-between">
                                <div class="flex items-center">
                                    <img src="https://images.unsplash.com/photo-1599566150163-29194dcaad36?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-8 h-8 rounded-full object-cover" alt="用户头像">
                                    <span class="ml-2 font-medium">王同学</span>
                                </div>
                                <div class="flex items-center text-yellow-400 text-xs">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star-half-alt"></i>
                                </div>
                            </div>
                            <p class="text-sm text-gray-600 mt-2">豆浆很新鲜，口感醇厚，价格也很实惠。希望能多一些口味选择，比如添加黑芝麻或者核桃的。</p>
                            <div class="mt-2 flex space-x-2">
                                <img src="https://images.unsplash.com/photo-1551326844-4df70f78d0e9?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-16 h-16 object-cover rounded" alt="评论图片">
                                <img src="https://images.unsplash.com/photo-1553787499-6f9133242821?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-16 h-16 object-cover rounded" alt="评论图片">
                            </div>
                            <div class="text-xs text-gray-400 mt-2 flex justify-between">
                                <span>2023-10-12</span>
                                <div class="flex items-center">
                                    <i class="far fa-thumbs-up mr-1"></i>
                                   
                                </div>
                            </div>
                        </div>
                        
                        <div class="border-b border-gray-200 pb-4">
                            <div class="flex justify-between">
                                <div class="flex items-center">
                                    <img src="https://images.unsplash.com/photo-1527980965255-d3b416303d12?w=800&auto=format&fit=crop&q=60&ixlib=rb-4.0.3" class="w-8 h-8 rounded-full object-cover" alt="用户头像">
                                    <span class="ml-2 font-medium">赵同学</span>
                                </div>
                                <div class="flex items-center text-yellow-400 text-xs">
                                    <i class="fas fa-star"></i>
                                    <i class="fas fa-star"></i>
                                    <i class="far fa-star"></i>
                                    <i class="far fa-star"></i>
                                    <i class="far fa-star"></i>
                                </div>
                            </div>
                            <p class="text-sm text-gray-600 mt-2">今天的豆浆有点稀，不如以前浓稠，希望能保持品质。</p>
                            <div class="text-xs text-gray-400 mt-2 flex justify-between">
                                <span>2023-10-10</span>
                                <div class="flex items-center">
                                    <i class="far fa-thumbs-up mr-1"></i>
                                  
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 